package net.siufung.market.base.permit.controller.model.dto;

import lombok.Data;
import net.siufung.core.utils.ValidationUtil.Validatable;

import javax.validation.constraints.NotBlank;

/**
 * @author 陈建峰
 * @since 2022/5/16 5:07 下午
 */
@Data
public class PermitText implements Validatable {

    private static final long serialVersionUID = -668530962439661122L;

    /**
     * 显示文本
     */
    @NotBlank(message = "显示文本不能为空！")
    private String text;

    /**
     * 权限标识
     */
    @NotBlank(message = "权限标识不能为空！")
    private String sign;

}
